package com.zk.ppa.service;

import com.zk.ppa.dao.po.FamilyMembers;

import java.util.List;

/**
 * @author Mr.yang
 * @create 2021-03-24 22:26
 */
public interface FamilyMemberService {

    /**
     * saveFamilyMember 保存贫困户的家庭信息
     * @param familyMembers
     * @return
     */
    Boolean saveFamilyMember(List<FamilyMembers> familyMembers);

    /**
     * getFamilyMembers 获取家庭成员列表
     * @param family_id
     * @return
     */
    List<FamilyMembers> getFamilyMembers(long family_id);

    /**
     * updateFamilyMembersById 修改家庭成员信息
     * @param familyMembers
     * @return
     */
    Boolean updateFamilyMembersById(FamilyMembers familyMembers);

    /**
     * deleteFamilyMembersById 删除家庭成员
     * @param family_id
     * @param Id
     * @return
     */
    Boolean deleteFamilyMembersById(long family_id,long Id);

}
